package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class Roleinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色信息id
     */
    @TableId(value = "ro_id", type = IdType.AUTO)
    private Integer roId;

    /**
     * 角色名
     */
    private String roName;

    /**
     * 角色类型（0系统角色 1普通角色）
     */
    private Integer roType;

    /**
     * 状态（0启用 1停用）
     */
    private Integer roState;

    /**
     * 创建时间
     */
    private LocalDate roCreatetime;

    /**
     * 更新操作人
     */
    private Integer adId;

    /**
     * 更新时间
     */
    private LocalDate roUpdatetime;


    public Integer getRoId() {
        return roId;
    }

    public void setRoId(Integer roId) {
        this.roId = roId;
    }

    public String getRoName() {
        return roName;
    }

    public void setRoName(String roName) {
        this.roName = roName;
    }

    public Integer getRoType() {
        return roType;
    }

    public void setRoType(Integer roType) {
        this.roType = roType;
    }

    public Integer getRoState() {
        return roState;
    }

    public void setRoState(Integer roState) {
        this.roState = roState;
    }

    public LocalDate getRoCreatetime() {
        return roCreatetime;
    }

    public void setRoCreatetime(LocalDate roCreatetime) {
        this.roCreatetime = roCreatetime;
    }

    public Integer getAdId() {
        return adId;
    }

    public void setAdId(Integer adId) {
        this.adId = adId;
    }

    public LocalDate getRoUpdatetime() {
        return roUpdatetime;
    }

    public void setRoUpdatetime(LocalDate roUpdatetime) {
        this.roUpdatetime = roUpdatetime;
    }

    @Override
    public String toString() {
        return "Roleinfo{" +
        "roId=" + roId +
        ", roName=" + roName +
        ", roType=" + roType +
        ", roState=" + roState +
        ", roCreatetime=" + roCreatetime +
        ", adId=" + adId +
        ", roUpdatetime=" + roUpdatetime +
        "}";
    }
}
